package net.sunzc.takephoto;

import android.graphics.Bitmap;

import java.io.Serializable;

/**
 * 图片对象
 *
 * @author Administrator
 */
public class ImageItem extends PhotoItem implements Serializable {
    private static final long serialVersionUID = -2092375944762877911L;
    public int score = -1;
    public byte[] pFeature;//特征
    String imageId;
    String thumbnailPath;

    public ImageItem(Bitmap path) {
        super(path);
    }

    @Override
    public String getLabel() {
        return score < 0 ? null : "名称:" + getImage() + "/\"" + "得分:" + score;
    }
}
